package com.vehicle.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum StatusCode {
    SUCCESS("100000", "成功"),
    DATA_EXIST("100001", "数据已存在"),
    PARAMS_ERROR("100002", "参数错误"),
    SYSTEM_ERROR("100003", "系统异常"),
    DATA_NOT_EXIST("100004", "数据不存在"),
    DELETE_ERROR("100005", "删除失败"),
    NET_ERROR("100006","远程请求失败"),
    IMPL_NOT_EXIST("100007","实现类不存在");
    private final String code;
    private final String message;
}
